import {createApp} from "vue";

// 导入element-plus的依赖
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
import ContextMenu from 'vue-simple-context-menu'
import 'vue-simple-context-menu/dist/vue-simple-context-menu.css';
import './assets/main.less'
import store from './service/store'
import router from './router'

// 导入入口组件
import App from "./App.vue";
import data from "./service/data";

const app = createApp(App)
app.component('ContextMenu', ContextMenu);
app.use(ElementPlus)
    .use(store)
    .use(router) // 使用路由实例
    // .use(data) // 使用vuex创建的store
    .mount("#app");
